# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class DatasItem(scrapy.Item):
    table = 'test'
    code = scrapy.Field() 
    manufacturer_name = scrapy.Field()  
    manufacturers = scrapy.Field()  
    description = scrapy.Field()  
    category = scrapy.Field()  # json类型
    img_urls = scrapy.Field() # json类型
    datasheet_urls = scrapy.Field()  # json类型
    prices = scrapy.Field()  # json类型
    attributes = scrapy.Field()  # json类型
    other_attributes = scrapy.Field()  # json类型
    pins = scrapy.Field()  # json类型
    all_json = scrapy.Field()  # json类型
    url = scrapy.Field()
    sources = scrapy.Field()
    creator = scrapy.Field()
